﻿
    using System;
    using System.Web.UI;

    public partial class WebPage_UserControls_DiaoCha : UserControl
    {
        private string _Select;
        public int value;

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            switch (this.Select)
            {
                case "index":
                    this.value = 1;
                    return;

                case "Fankui":
                    this.value = 2;
                    return;

                case "Wenti":
                    this.value = 3;
                    return;
            }
            this.value = 4;
        }

        public string Select
        {
            get
            {
                return this._Select;
            }
            set
            {
                this._Select = value;
            }
        }
    }


